<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<script src="../js/js.vue.js"></script>
<body>
    <div id="box">
        <button @click="inc">
            {{count}}
        </button>
    </div>
        <script>
            Vue.createApp({
                data(){
                    return{
                        count:0,
                    }
                },
                methods:{
                    inc(){
                        this.count++
                    }
                }
            }).mount("#box")
        </script>
    
</body>
</html>